package jee.boot.entity.auth;

/**
 * 权限相关常量
 */
public class AuthConstant {
    /**
     * 密码类型-静态密码(默认)
     */
    public static final String PASSWD_TYPE_STATIC = "static";
    /**
     * 密码类型-动态密码(短信验证码,邮箱验证码)
     */
    public static final String PASSWD_TYPE_DYNAMIC = "dynamic";
    /**
     * 重置默认的密码
     */
    public static final String DEFAULT_RESET_PASSWORD = "123456";
    /**
     * 权限客体类型-全局
     */
    public static final String AUTH_ENTITY_TYPE_GLOBAL = "DIC_AUTH_CtrledEntityType_CET00";
    /**
     * 权限客体类型-Resource
     */
    public static final String AUTH_ENTITY_TYPE_RESOURCE = "DIC_AUTH_CtrledEntityType_CET01";
    /**
     * 权限客体类型-TreeNode
     */
    public static final String AUTH_ENTITY_TYPE_TREE_NODE = "DIC_AUTH_CtrledEntityType_CET03";
    /**
     * 权限客体类型-Model
     */
    public static final String AUTH_ENTITY_TYPE_MODEL = "DIC_AUTH_CtrledEntityType_CET04";
    /**
     * 权限客体类型-Column
     */
    public static final String AUTH_ENTITY_TYPE_COLUMN = "DIC_AUTH_CtrledEntityType_CET05";
    /**
     * 权限客体类型-RowSet
     */
    public static final String AUTH_ENTITY_TYPE_ROW_SET = "DIC_AUTH_CtrledEntityType_CET06";
    /**
     * 权限客体类型-CellSet
     */
    public static final String AUTH_ENTITY_TYPE_CELL_SET = "DIC_AUTH_CtrledEntityType_CET07";
    /**
     * 权限客体类型-其他
     */
    public static final String AUTH_ENTITY_TYPE_OTHER = "DIC_AUTH_CtrledEntityType_CET99";


    /**
     * 权限主体类型-用户
     */
    public static final String AUTH_SBJ_TYPE_USER = "DIC_AUTH_AuthSbjType_AST01";
    /**
     * 权限主体类型-组
     */
    public static final String AUTH_SBJ_TYPE_GROUP = "DIC_AUTH_AuthSbjType_AST02";
    /**
     * 权限主体类型-角色
     */
    public static final String AUTH_SBJ_TYPE_ROLE = "DIC_AUTH_AuthSbjType_AST03";
    /**
     * 权限主体类型-其他
     */
    public static final String AUTH_SBJ_TYPE_OTHER = "DIC_AUTH_AuthSbjType_AST99";

    /**
     * 数据域类型-数据字典
     */
    public static final String SYSTEM_DATA_DOMAIN_TYPE_DICTIONARY = "DIC_SYS_DataDomainType_DDT01";
    /**
     * 数据域类型-主数据
     */
    public static final String SYSTEM_DATA_DOMAIN_TYPE_MASTER_DATA = "DIC_SYS_DataDomainType_DDT02";
    /**
     * 数据域类型-枚举字符串
     */
    public static final String SYSTEM_DATA_DOMAIN_TYPE_MENU_STRING = "DIC_SYS_DataDomainType_DDT03";
    /**
     * 数据域类型-树节点
     */
    public static final String SYSTEM_DATA_DOMAIN_TYPE_TREE_NODE = "DIC_SYS_DataDomainType_DDT04";


    /**
     * 主数据-Column-Type-维度
     */
    public static final String MASTER_DATA_COLUMN_TYPE_DIMENSION = "DIC_MT_ColumnType_CT01";
    /**
     * 主数据-Column-Type-度量
     */
    public static final String MASTER_DATA_COLUMN_TYPE_MEASURE = "DIC_MT_ColumnType_CT02";
    /**
     * 主数据-Column-Type-主键
     */
    public static final String MASTER_DATA_COLUMN_TYPE_PRIMARY_KEY = "DIC_MT_ColumnType_CT03";
    /**
     * 主数据-Column-Type-其他
     */
    public static final String MASTER_DATA_COLUMN_TYPE_OTHER = "DIC_MT_ColumnType_CT99";


    /**
     * 右值类型-一元
     */
    public static final String SYSTEM_OPERATOR_RIGHT_VALUE_TYPE_ONE = "DIC_SYS_OperatorRightValueType_ORVT01";
    /**
     * 右值类型-二元
     */
    public static final String SYSTEM_OPERATOR_RIGHT_VALUE_TYPE_TWO = "DIC_SYS_OperatorRightValueType_ORVT02";
    /**
     * 右值类型-表达式
     */
    public static final String SYSTEM_OPERATOR_RIGHT_VALUE_TYPE_EXPRESSION = "DIC_SYS_OperatorRightValueType_ORVT03";


    /**
     * 树模型类别-通用树模型
     */
    public static final String TREE_MODEL_CATEGORY_GENERAL = "tree_model_category_01";
    /**
     * 树模型类别-单表树模型
     */
    public static final String TREE_MODEL_CATEGORY_SINGLE_TABLE = "tree_model_category_02";


    /**
     * 操作等级-可编辑
     */
    public static final String OPERATION_LEVEL_EDITABLE = "Editable";
    /**
     * 操作等级-只读
     */
    public static final String OPERATION_LEVEL_VISIBLE = "Visible";
    /**
     * 操作等级-不可见
     */
    public static final String OPERATION_LEVEL_INVISIBLE = "Invisible";

}
